package com.zk.mockito.cases;

import org.junit.Test;


/**
 * 依据断言验证
 */
public class Case017_VerificationWithAssertions {

    // Verification with assertions (Since 5.3.0)
    @Test
    public void testVerificationWithAssertions() {
//        Mocked serviceMock = Mockito.mock(Mocked.class);
//        verify(serviceMock).doSomething(assertArg(param -> {
//            assertThat(param.getField1()).isEqualTo("foo");
//            assertThat(param.getField2()).isEqualTo("bar");
//        }));
    }

}
